package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"order/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/add", &controllers.OrderController{}, "post:Add")
	beego.Router("/upload", &controllers.OrderController{}, "get:Upload")
	beego.Router("/del", &controllers.OrderController{}, "get:Del")
}
